package com.yywz;

import java.util.HashMap;
import java.util.Hashtable;

/**
 * 
 * 比较HashMap和HashTable
 * @author guohao
 *
 */
public class HashMapAndHashTable {


	public static void main(String[] args) {
		HashMap hashMap = new HashMap();
		
		hashMap.put(null, null);
		
		Hashtable hashtable = new Hashtable();
		hashtable.put("a", "a");

	}

}
